#include <iostream>
#include <string>
#include "Person.h"
using namespace std;
void practice_7_9();
void practice_7_15();
int main()
{
	//practice_7_9();
	practice_7_15();
	return 0;
}
istream &read(istream &is,Person &p)
{
	is>>p.name>>p.address;
	return is;
}
ostream &print(ostream &os,const Person &p)
{
	os<<p.name<<" "<<p.address;
	return os;
}
void practice_7_9()
{
	Person p;
	read(cin,p);
	print(cout,p)<<endl;
}
void practice_7_15()
{
	Person p("zyl","mianyang");
	cout<<p.get_name()<<" "<<p.get_address()<<endl;
}